{assign var="title" value=$movie.title}

<h2>{$title|escape}</h2>

{include file="../partials/messages.tpl"}

<div>
{$movie.summary|escape|nl2br}
</div>

<object type="application/x-shockwave-flash" data="/content/player/player.swf" width="640" height="480">
    <param name="movie" value="/content/player/player.swf" />
    <param name="allowFullScreen" value="true" />
    <param name="FlashVars" value="flv=/movie/flv/{$movie.movie_id|escape}&amp;title={$movie.title|escape}&amp;titlesize=40&amp;configxml=/content/player/config.xml" />
</object>


{if $movie.user_id == $loginUser->getUserId()}
<div><a href="#">この動画を編集する</a></div>
{/if}